﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Entity.Dto.UserDto;
using WCS_Entity.User;

namespace WCS_Service.Interface
{
    /// <summary>
    /// 角色服务接口
    /// </summary>
    public interface IRoleService : IBaseService<RulesEntity>
    {
        Task<RuleDto> QueryRuleAsync(int ruleId);
        Task<RuleDto> UpdateRuleAsync(UpdateRuleDto dto);
        Task<bool> DeleteRuleAsync(int ruleId);
        Task<List<RuleDto>> QueryAllRuleAsync();
        Task<RuleDto> CreateRuleAsync(CreateRuleDto dto);
    }
}
